Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tooldock pinning #325

Merged
merged 3 commits into from
Mar 11, 2024
Merged

Conversation

BAndysc
Copy link
Contributor

@BAndysc BAndysc commented Mar 10, 2024

(Requires #324 and #322 merged first)

Wieslaw's Dock always had a "pin dockable" option, but there was no option to "show temporarily" aka "auto-hide" a pinned dockable like in Visual Studio or AvalonDock. I believe an "auto-hide" pinning is more useful than just regular pinning, therefore this PR changes the behaviour of pinned dockables - now opening a pinned dockable, shows it only temporarily - until the user clicks elsewhere. See the video below:

Screen.Recording.2024-03-10.at.16.26.58.mp4

How this solution was implemented

IRootDock has now a "pinned dock" property which represents a pinned Tool Dock that can be shown and hidden. This pinned dock is always pinned to one of the edges and can be resized thanks to GridSplitter. The Tool Dock is instantiated only once - only its VisibleDockables property is manipulated.

@wieslawsoltes wieslawsoltes merged commit ca77bde into wieslawsoltes:master Mar 11, 2024
1 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants